using System;
using System.Collections.Generic;
using System.Text;
using MeetingRoom.Domain;

namespace MeetingRoom.Service.Implementation
{
    public abstract class AbstractMessagingService : IMessagingService
    {
        #region IMessagingService Members

        public abstract void Notify(MeetingRoom.Domain.Staff staff, string message);

        public void Notify(List<MeetingRoom.Domain.Staff> staffs, string message)
        {
            foreach (Staff staff in staffs)
            {
                this.Notify(staff, message);
            }
        }

        #endregion
    }
}
